<form class="layui-form modal-form-box" action="__SELF__" data-auto="true" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">用户账户</label>
        <div class="layui-input-block">
            <input type="text" value="{$userinfo.email}" class="layui-input layui-bg-gray" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">用户姓名</label>
        <div class="layui-input-block">
            <input type="text" value="{$userinfo.name}" class="layui-input layui-bg-gray" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">用户余额</label>
        <div class="layui-input-block">
            <input type="text" value="{$userinfo.amount}" class="layui-input layui-bg-gray" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">充值金额</label>
        <div class="layui-input-block">
            <input type="text" name="change_amount" placeholder="请输入充值金额" required title="请输入充值金额" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item text-center">
        <input type="hidden" name="id" value="{$Think.get.id|default=''}">
        <button class="layui-btn">保存数据</button>
        <button class="layui-btn layui-btn-primary" type="button" data-close>取消编辑</button>
    </div>
</form>